#pragma once

#ifdef __QT5_TARGET

#include <QtCore/QString>

#else

#include <QString>

#endif
#include "korlapadmin_model_global.h"
class KORLAPADMIN_MODEL_EXPORT Exception
{
public:
	Exception(void);
	void setErrorCode(int code);
	void setMessage(const QString& message);
	int getErrorCode();
	const QString getMessage()const;
	~Exception(void);
protected:
	int code;
	QString message;
};
